package com.dkm.ec.user.persistence.entity;

import com.dkm.base.db.persistence.entity.AbstractPo;

import java.util.Date;

/**
 * Created by fanjinyuan on 2017/8/19.
 */
public class UserRechargeRecordPo  extends AbstractPo<String> {

    private String id; //充值订单id
    private String userId; //用户id
    private Double amount; //充值金额
    private Double prevBalance; //充值前余额
    private Double postBalance; //充值后余额
    private Integer rechargeType; //充值类型, 1：微信，2：支付宝
    private Integer status; //充值状态，1：充值成功，0：充值失败
    private Date rechargeTime; //充值时间
    private String orderNo; //订单号


    @Override
    public void setId(String s) {
        id = s;
    }

    @Override
    public String getId() {
        return id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Double getPrevBalance() {
        return prevBalance;
    }

    public void setPrevBalance(Double prevBalance) {
        this.prevBalance = prevBalance;
    }

    public Double getPostBalance() {
        return postBalance;
    }

    public void setPostBalance(Double postBalance) {
        this.postBalance = postBalance;
    }

    public Integer getRechargeType() {
        return rechargeType;
    }

    public void setRechargeType(Integer rechargeType) {
        this.rechargeType = rechargeType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getRechargeTime() {
        return rechargeTime;
    }

    public void setRechargeTime(Date rechargeTime) {
        this.rechargeTime = rechargeTime;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }


}
